<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>OMSP - 科学探测运行操控平台</title>
    <style>
        body {
            font-family: 'Microsoft YaHei', Arial, sans-serif;
            margin: 0;
            padding: 0;
            background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
            color: white;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .container {
            text-align: center;
            max-width: 800px;
            padding: 20px;
        }
        .logo {
            font-size: 56px;
            font-weight: bold;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            letter-spacing: 3px;
        }
        .subtitle {
            font-size: 24px;
            margin-bottom: 40px;
            opacity: 0.9;
            font-weight: 300;
        }
        .description {
            font-size: 16px;
            margin-bottom: 40px;
            opacity: 0.8;
            line-height: 1.6;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        .btn-group {
            margin-bottom: 40px;
        }
        .btn {
            display: inline-block;
            padding: 15px 30px;
            background: rgba(255,255,255,0.2);
            border: 2px solid white;
            color: white;
            text-decoration: none;
            border-radius: 8px;
            font-size: 16px;
            margin: 10px;
            transition: all 0.3s ease;
            cursor: pointer;
            font-weight: 500;
        }
        .btn:hover {
            background: white;
            color: #1e3c72;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }
        .btn.primary {
            background: rgba(255,255,255,0.9);
            color: #1e3c72;
            font-weight: bold;
        }
        .btn.primary:hover {
            background: white;
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.3);
        }
        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-top: 40px;
        }
        .feature {
            background: rgba(255,255,255,0.1);
            padding: 20px;
            border-radius: 10px;
            border: 1px solid rgba(255,255,255,0.2);
        }
        .feature h3 {
            margin-top: 0;
            font-size: 18px;
            color: #fff;
        }
        .feature p {
            font-size: 14px;
            opacity: 0.8;
            margin-bottom: 0;
        }
        .footer {
            margin-top: 40px;
            font-size: 12px;
            opacity: 0.6;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="logo">OMSP</div>
        <div class="subtitle">科学探测运行操控平台</div>
        <div class="description">
            Operation and Monitoring System for Scientific Payload<br>
            为科学载荷提供实时监控、数据分析和历史回放功能
        </div>
        
        <div class="btn-group">
            <a href="/omsp/qview.html" class="btn primary">进入快视监控</a>
            <a href="/omsp/" class="btn">系统管理</a>
            <a href="/omsp/mon.html" class="btn">系统监控</a>
        </div>
        
        <div class="features">
            <div class="feature">
                <h3>🔍 实时监控</h3>
                <p>多种科学仪器的实时数据监控和状态显示</p>
            </div>
            <div class="feature">
                <h3>📊 数据分析</h3>
                <p>强大的数据可视化和分析工具</p>
            </div>
            <div class="feature">
                <h3>⏮️ 历史回放</h3>
                <p>完整的历史数据回放和查询功能</p>
            </div>
            <div class="feature">
                <h3>🛠️ 运行操控</h3>
                <p>便捷的系统操作和配置管理</p>
            </div>
        </div>
        
        <div class="footer">
            © 2024 OMSP 科学探测运行操控平台 | 测试服务器环境
        </div>
    </div>

    <script>
        // 简单的页面交互
        document.querySelectorAll('.btn').forEach(btn => {
            btn.addEventListener('click', function(e) {
                if (this.href && this.href.includes('/omsp/')) {
                    // 可以在这里添加跳转前的检查或动画
                    console.log('正在跳转到:', this.href);
                }
            });
        });
        
        // 显示一些基本的系统信息
        console.log('OMSP 系统已加载');
        console.log('当前地址:', window.location.href);
        console.log('用户代理:', navigator.userAgent);
    </script>
</body>
</html>